<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <div th:insert ="/demo/include/base::commHead"></div>
    <title>填写撤销申请</title>
    <style>
        .form{}
        .form .error{ color: #f30; margin-left: 20px; display: none;}
        .form .tips{margin-left: 5px;}
    </style>

    <style>
        .type_0 .type_0{ display: block !important;}
        .type_0 tr.type_0{ display: grid !important;}

        .type_1 .type_1{ display: block !important;}
        .type_1 tr.type_1{ display: grid !important;}
    </style>
        <script type="text/javascript" src="../../common/uploader/uploader.js"></script>
        <link href="../../common/uploader/uploader.css" rel="stylesheet" type="text/css">
</head>
<body class="ht">
<div th:insert="base::loading"></div>

<div class="content-wrapper">
    <form name="form" id="form" method="post">
        <div class="module">
        <table cellpadding="0" cellspacing="0" class="vTable">
            <tbody>
                <tr>
                    <th class="label">联系人</th>
                    <td>
                        <p><input type="text" name="vtext"/></p>
                    </td>
                </tr>
                <tr>
                    <th class="label">手机号</th>
                    <td><input type="mobile" name="contactMobile" maxlength="11" /><span class="error"></span></td>
                </tr>
                <tr>
                    <th class="label">终止原因</th>
                    <td><textarea name="revokeApplyReason" maxlength="500" ></textarea></td>
                </tr>
            </tbody>
        </table>

        </div>
        <div class="row" style="margin-top: 30px">
            <input class="btn btn-primary btn-lg" type="submit" value="提 交"/>
            <input class="btn btn-clear" type="clear" role="ClearButton" value="清空">
        </div>
    </form>

</div>
<div class="ht-dialog auto" role="autoOpenDialog">
    <div class="wrapper">
        <h4 class="title" th:text="${result.msg}">提示</h4>
        <a class="ht-closeButton">close</a>
        <div class="content">
            <ul th:if="${#fields.hasErrors('dto.*')}">
                <li th:each="err:${#fields.errors('dto.*')}" th:text="${err}"></li>
            </ul>
        </div>
    </div>
</div>


<script>
    var ruleParser=new RuleParser("#form");
    ruleParser.loadRule(baseUrl+"/demo/finance/cancelFormRule.json")
</script>
</body>
</html>